home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Jumpstart / Multimedia Microsoft Jumpstart Version 1.1a (Microsoft).BIN / develpmt / source / midikeyb / midikeyb.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-12  |  2.0 KB  |  62 lines

  1. /*    (C) Copyright Microsoft Corp. 1991.  All rights reserved.
  2.  *
  3.  *    You have a royalty-free right to use, modify, reproduce and 
  4.  *    distribute the Sample Files (and/or any modified version) in 
  5.  *    any way you find useful, provided that you agree that 
  6.  *    Microsoft has no warranty obligations or liability for any 
  7.  *    Sample Application Files which are modified. 
  8.  */
  9.  
  10.  
  11. /** midikeyb.h                                                           **/
  12.  
  13. #ifndef _MIDIKEYB_H_
  14. #define _MIDIKEYB_H_
  15.  
  16.  
  17. /* MIDI keyboard control messages--class "midiKeyB" */
  18.     #define KEYB_SETLAYOUT      (WM_USER + 0)
  19.     #define KEYB_GETLAYOUT      (WM_USER + 1)
  20.     #define KEYB_SETMSGDOWN     (WM_USER + 2)
  21.     #define KEYB_GETMSGDOWN     (WM_USER + 3)
  22.     #define KEYB_SETMSGUP       (WM_USER + 4)
  23.     #define KEYB_GETMSGUP       (WM_USER + 5)
  24.     #define KEYB_SETCHANNEL     (WM_USER + 6)
  25.     #define KEYB_GETCHANNEL     (WM_USER + 7)
  26.     #define KEYB_SETFGCOLOR     (WM_USER + 8)
  27.     #define KEYB_GETFGCOLOR     (WM_USER + 9)
  28.     #define KEYB_SETBKCOLOR     (WM_USER + 10)
  29.     #define KEYB_GETBKCOLOR     (WM_USER + 11)
  30.     #define KEYB_SETVELOCITY    (WM_USER + 12)
  31.     #define KEYB_GETVELOCITY    (WM_USER + 13)
  32.     #define KEYB_SETHWND        (WM_USER + 14)
  33.     #define KEYB_GETHWND        (WM_USER + 15)
  34.     #define KEYB_SETHMIDIOUT    (WM_USER + 16)
  35.     #define KEYB_GETHMIDIOUT    (WM_USER + 17)
  36.  
  37.     #define KEYB_MIDISHORTMSG   (WM_USER + 18)
  38.     #define KEYB_RESET          (WM_USER + 19)
  39.  
  40.  
  41. /* default message down and message up values */
  42.     #ifndef WM_MIDIKEYBKEYDOWN
  43.         #define WM_MIDIKEYBKEYDOWN  (WM_USER + 1969)
  44.     #endif
  45.  
  46.     #ifndef WM_MIDIKEYBKEYUP
  47.         #define WM_MIDIKEYBKEYUP    (WM_USER + 1970)
  48.     #endif
  49.  
  50.  
  51. /* keyboard styles */
  52.     #define KEYBS_LABELS        0x8000L     /* keys will have labels     */
  53.  
  54.  
  55. /* public function prototypes */
  56.     BOOL FAR PASCAL midiKeyBInit( HANDLE hInst );
  57.  
  58.  
  59. #endif
  60.  
  61. /** EOF: midikeyb.h **/
  62.